home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- set -e
- # Automatically added by dh_usrlocal
- if [ "$1" = configure ]; then
- (
- while read line; do
- set -- $line
- dir="$1"; mode="$2"; user="$3"; group="$4"
- if [ ! -e "$dir" ]; then
- if mkdir "$dir" 2>/dev/null; then
- chown "$user":"$group" "$dir"
- chmod "$mode" "$dir"
- fi
- fi
- done
- ) << DATA
- /usr/local/lib 2775 root staff
- /usr/local/lib/site_ruby 2775 root staff
- /usr/local/lib/site_ruby/1.8 2775 root staff
- /usr/local/lib/site_ruby/1.8/i486-linux 2775 root staff
- DATA
- fi
- # End automatically added section
- # Automatically added by dh_makeshlibs
- if [ "$1" = "configure" ]; then
- ldconfig
- fi
- # End automatically added section
-